# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=xfontsel
pkgver=1.0.6
pkgrel=0
pkgdesc="Point and click selection of X11 font names"
url="http://xorg.freedesktop.org"
arch="all"
license="MIT"
makedepends="libxaw-dev libxmu-dev libxt-dev libx11-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/xfontsel-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="2f6bc51549a302404cdaf9a5a825add383953fcbb2a0c7076691cefd4dd7e4a3c772c047be74101c8486f75d03ce0bd3e65ede14e91732cf2a932810441c9099  xfontsel-1.0.6.tar.bz2"
